package org.tgcloud.group.repository;

import org.apache.ibatis.annotations.Param;
import org.tgcloud.group.entity.MjOrderHotel;

import java.util.List;

public interface MjOrderHotelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MjOrderHotel record);

    int insertSelective(MjOrderHotel record);

    MjOrderHotel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MjOrderHotel record);

    int updateByPrimaryKey(MjOrderHotel record);


    List<MjOrderHotel> selectListByOrderId(@Param("orderId") Integer orderId);

    int updateStatusByOrderId(@Param("orderId") Integer orderId, @Param("status") short status);
}